package com.ds.infrastructure.hyperspace.console.model.response.result;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * Created by zd.yao on 2017/3/21.
 */
@ApiModel(value = "返回类")
public class JsonResult {
    public JsonResult() {
    }

    public JsonResult(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    @ApiModelProperty(value = "code")
    private Integer code;
    @ApiModelProperty(value = "message")
    private String message;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
